package com.ds.infrastructure.hyperspace.common.flow;

/**
 * @author  Weishaoying
 */
public interface TargetNodeContext {

    /**
     * Get config weight
     * @return
     */
    int getConfigWeight();

    /**
     * Get effective weight
     * @return
     */
    int getEffectiveWeight();

    /**
     * Get current weight
     * @return
     */
    int getCurrentWeight();

    /**
     * Set effective weight
     * @param effectiveWeight
     */
    void setEffectiveWeight(int effectiveWeight);

    /**
     * Set current weight
     * @param currentWeight
     */
    void setCurrentWeight(int currentWeight);

}
